/**
 * Created by KGL on 2015/8/21.
 */
function functionsSet(id){
    var setting = {
        check: {
            enable: true
        },
        data: {
            simpleData: {
                enable: true
            }
        }
    };

    var params = {url: "../../systemFunction/getSystemFunctions"};
    params.sucFn = function(data){
        $.fn.zTree.init($("#treeDemo"), setting, data.data);
    }
    requestJSON(params);
    $("#authRoleId").val(id);
    $('#authFunctionModel').modal('show');
}